home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 1996 #1
/
Amiga Plus CD - 1996 - No. 1.iso
/
pd
/
netz
/
socklink
/
socklink_install
< prev
next >
Wrap
Text File
|
1995-09-01
|
5KB
|
153 lines
;*****************************************************************
; ______ __ __ __ __
; / ____/ / /__ / / /_/ / /__
; / /___ ______ ______ / // / / / __ ______ / // /
; /___ // __ // ____// _ / / / / / / __ // _ /
; ____/ // /_/ // /___ / /| | / /___ / /_ / / / // /| |
; /_____//_____//_____//_/ |_|/_____//___//_/ /_//_/ |_|
;
; socklink Install V1.00 by Robert Reiswig (rcr@netcom.com) ©1995
; If you wish to use parts of this you MUST ask!! Sep-01-95
;
; Installer suggestions or problems: installer@socklink.vgr.com
; IRC: RobR
;
;*****************************************************************
(set socklinkver "1.00")
;********************************************************************************
;
; Hello and What TCP/IP package
;
;********************************************************************************
(message (cat "\nsocklink " socklinkver "\n\nLinks Stdio to Socket\nfor AmiTCP and AS225r2\n\nby:\nSam Yee - samy@sfu.ca \n(Alternative Email - samy@res.com)\n\n"
"\nInstaller by:\nRobert Reiswig (rcr@netcom.com)"
)
)
(set TCP (askchoice (choices "AmiTCP (3.0b2, 4.0, 4.1, 4.2)" "MultiLink (Mlink)" "AS225r2 (Commodore)")
(prompt "Please select the TCP/IP package/emulator you run.")
(help "Please select the TCP/IP package/emulator you run.")
(default 0)
)
)
(if (= TCP 0) (set Package "AmiTCP:") )
(if (= TCP 1) (set Package "AmiTCP:") )
(if (= TCP 2) (set Package "Inet:") )
;********************************************************************************
;
;Amitcp Files
;
;********************************************************************************
(if (= TCP 0)
(
(set @default-dest "AmiTCP:")
(if (< (exists (tackon Package "bin")) 2) (makedir (tackon Package "bin") (infos)) )
(copyfiles (source "socklink_amitcp") (dest "AmiTCP:bin") (newname "socklink"))
(copylib (source "rawin.library") (dest "libs:") )
(if (< (exists (tackon Package "doc")) 2) (makedir (tackon Package "doc") (infos)) )
(copyfiles (source "socklink.guide") (dest "AmiTCP:doc") (infos) )
(copyfiles (source "socklink.doc") (dest "AmiTCP:doc") (infos) )
)
)
;********************************************************************************
;
;Mlink
;
;********************************************************************************
(if (= TCP 1)
(
(set @default-dest "AmiTCP:")
(if (< (exists "AmiTCP:") 2)
(
(makedir (dest "SYS:amitcp") (infos))
(run "assign amitcp: sys:amitcp")
)
)
(if (< (exists (tackon Package "bin")) 2) (makedir (tackon Package "bin") (infos)) )
(copyfiles (source "socklink_amitcp") (dest "AmiTCP:bin") (newname "socklink"))
(copylib (source "rawin.library") (dest "libs:") )
(if (< (exists (tackon Package "doc")) 2) (makedir (tackon Package "doc") (infos)) )
(copyfiles (source "socklink.guide") (dest "AmiTCP:doc") (infos) )
(copyfiles (source "socklink.doc") (dest "AmiTCP:doc") (infos) )
)
)
;********************************************************************************
;
;AS225 files
;
;********************************************************************************
(if (= TCP 2)
(
(set @default-dest "Inet:")
(if (< (exists (tackon Package "c")) 2) (makedir (tackon Package "c") (infos)) )
(copyfiles (source "socklink_as225") (dest "Inet:c") (newname "socklink"))
(copylib (source "rawin.library") (dest "libs:") )
(if (< (exists (tackon Package "docs")) 2) (makedir (tackon Package "docs") (infos)) )
(copyfiles (source "socklink.guide") (dest "Inet:docs") (infos) )
(copyfiles (source "socklink.doc") (dest "Inet:docs") (infos) )
)
)
;********************************************************************************
;
; End
;
;********************************************************************************
(message (cat "\n Files installed:\n\n\n"
(if (= TCP 0) (tackon Package "bin/socklink\n\n") )
(if (= TCP 1) (tackon Package "bin/socklink\n\n") )
(if (= TCP 2) (tackon Package "c/socklink\n\n") )
"libs:rawin.library\n\n"
(tackon Package "doc/socklink.doc\n\n")
(tackon Package "doc/socklink.guide\n\n")
)
)
(message "Questions, ideas, comments, bug reports, etc. should go to:\n\n"
"Snail Mail: Sam Yee\n"
"4595 Nanaimo St.\n"
"Vancouver, B.C.\n"
"Canada V5N 5J5\n\n"
"FidoNet: 1:153/765\n"
"(Terra Firma BBS (604) 434-3665)\n\n"
"Email: samy@sfu.ca\n"
"Alternative Email : samy@res.com\n"
"IRC: Encoder in #amiga"
)